package com.tarena.vehicle.management.mapper;

import com.tarena.vehicle.management.pojo.entity.VehicleMaintenance;
import com.tarena.vehicle.management.pojo.vo.VehicleMaintenanceListItemVO;
import com.tarena.vehicle.management.pojo.vo.VehicleMaintenanceStandardVO;
import java.util.List;

public interface VehicleMaintenanceMapper {

    int insert(VehicleMaintenance maintenance);

    VehicleMaintenanceStandardVO getVehicleMaintenanceById(Integer id);

    int update(VehicleMaintenance maintenance);

    int deleteById(Integer id);

    List<VehicleMaintenanceListItemVO> getVehicleMaintenanceList(VehicleMaintenance maintenance);
}
